package <#if packagePath != ''>${packagePath}.</#if>convert;

/**
 * @author cxx
 **/
public class StringToIntConvert implements Convert {
    @Override
    public Object convert(Object fv) {
        if(fv instanceof String){
            return Integer.valueOf ((String)fv);
        }
        throw new ConvertException("fv is not string");
    }
}
